<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WMS仓库管理系统</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="container">
        <!-- 登录界面 -->
        <section id="loginSection" class="login-section">
            <div class="login-container">
                <h2>WMS仓库管理系统登录</h2>
                <form id="loginForm">
                    <div class="form-group">
                        <label for="username">用户名:</label>
                        <input type="text" id="username" required>
                    </div>
                    <div class="form-group">
                        <label for="password">密码:</label>
                        <input type="password" id="password" required>
                    </div>
                    <button type="submit" class="btn-primary">登录</button>
                    <p>默认管理员账号: admin / 123456</p>
                </form>
            </div>
        </section>

        <!-- 主内容界面 -->
        <div id="mainContent" class="main-content">
            <header>
                <h1>WMS仓库管理系统</h1>
                <p>欢迎使用模块化仓库管理系统</p>
                <div class="header-actions">
                    <button id="logoutBtn" class="btn-secondary">退出登录</button>
                </div>
            </header>

            <main>
                <section class="dashboard">
                    <h2>系统模块导航</h2>
                    <div class="module-grid">
                        <div class="module-card">
                            <h3>业务管理</h3>
                            <p>管理入库单据、出库单据等业务流程</p>
                            <a href="business.html" class="btn-primary">进入模块</a>
                        </div>
                        
                        <div class="module-card">
                            <h3>视图管理</h3>
                            <p>可视化管理货位状态和物料分布</p>
                            <a href="view.html" class="btn-primary">进入模块</a>
                        </div>
                        
                        <div class="module-card">
                            <h3>库存管理</h3>
                            <p>管理库存总览和明细信息</p>
                            <a href="inventory.html" class="btn-primary">进入模块</a>
                        </div>
                        
                        <div class="module-card">
                            <h3>指令管理</h3>
                            <p>管理设备指令和执行历史</p>
                            <a href="instruction.html" class="btn-primary">进入模块</a>
                        </div>
                    </div>
                </section>

                <section class="quick-actions">
                    <h2>快捷操作</h2>
                    <div class="action-grid">
                        <div class="action-card">
                            <a href="create_inbound.html" class="btn-primary">创建入库单据</a>
                        </div>
                        <div class="action-card">
                            <a href="create_outbound.html" class="btn-primary">创建出库单据</a>
                        </div>
                        <div class="action-card">
                            <button id="importGoodsBtn" class="btn-primary">导入货物数据</button>
                        </div>
                        <div class="action-card">
                            <button id="exportGoodsBtn" class="btn-primary">导出货物数据</button>
                        </div>
                    </div>
                </section>
            </main>
        </div>
    </div>

    <script src="js/main.js"></script>
</body>
</html>